/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package tcubeappclient;

import BusinessLogic.TCubeBeanLocal;
import Entity.Files;
import java.util.ArrayList;
import java.util.List;
import javax.ejb.EJB;

/**
 *
 * @author James
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    @EJB
    private static TCubeBeanLocal tcubeBean;
    
    public static void main(String[] args) {
        int[] listOfPrivileges = new int[5];
        for (int i = 0 ; i < 5 ; i++) {
            tcubeBean.createTCubePrivilege("Create TCube Account", "Create TCube Account");
            tcubeBean.createTCubePrivilege("Create TCube Privilege", "Create TCube Privilege");
            tcubeBean.createTCubePrivilege("Create Partner Privilege", "Create Partner Privilege");
            tcubeBean.createTCubePrivilege("Register Partner", "Register Partner");
            tcubeBean.createTCubePrivilege("Grant Privilege", "Grant Privilege"); 
        }
//        tcubeBean.registerAccount("jamesboyz", "jamestran", "G0845679N", "James", "Tran", "Male", "65", "9789 7094", "dungtran511@gmail.com", "Singapore", "Singapore", 999, listOfPrivileges);
        
    }
}
